home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows CE - The Ultimate Companion
/
ROMMAN_CE.iso
/
Files
/
Games
/
Pocket CW
/
PocketCW.load
< prev
next >
Wrap
Text File
|
1997-10-18
|
1KB
|
31 lines
// copy the executable file
// mkdir is taken care of by Load...
copy . . "PocketCW.exe"
mkdir puzzles
copy . puzzles "golem.puz"
// register the icon
regKeyCreate HKEY_CLASSES_ROOT .puz 1
regKeyCreate HKEY_CLASSES_ROOT cwpuzzle 1
regKeyCreate HKEY_CLASSES_ROOT cwpuzzle\DefaultIcon 1
regKeyCreate HKEY_CLASSES_ROOT cwpuzzle\Shell 1
regKeyCreate HKEY_CLASSES_ROOT cwpuzzle\Shell\Open 1
regKeyCreate HKEY_CLASSES_ROOT cwpuzzle\Shell\Open\Command 1
regString HKEY_CLASSES_ROOT .puz 1 Default "cwpuzzle"
regString HKEY_CLASSES_ROOT cwpuzzle 1 Default "PocketCW Puzzle"
regString HKEY_CLASSES_ROOT cwpuzzle\DefaultIcon 1 Default "%P\PocketCW.exe,-101"
regString HKEY_CLASSES_ROOT cwpuzzle\Shell\Open\Command 1 Default "\"%P\PocketCW.exe\" %1"
regString ~ ~ 1 VersionNumber "1.5"
regString ~ ~ 1 PuzzleDir "%P\puzzles"
// create some shortcuts on the HPC device
createShortcut \Windows\Desktop "Pocket CW.lnk" . "PocketCW.exe"
createShortcut \Windows\Programs "Pocket CW.lnk" . "PocketCW.exe"
// Exit the script
exit